projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b70af8d
)
(etags-goto-tag-location): Handle selective display.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 1 Aug 1993 06:04:06 +0000
(06:04 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 1 Aug 1993 06:04:06 +0000
(06:04 +0000)
lisp/progmodes/etags.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/etags.el
b/lisp/progmodes/etags.el
index e72fdb3e7cd7912979697fc3cc335f19e4e0f210..97ca5f816e8ef913a649e95b67e8d63015d6d359 100644
(file)
--- a/
lisp/progmodes/etags.el
+++ b/
lisp/progmodes/etags.el
@@
-950,7
+950,9
@@
See documentation of variable `tags-file-name'."
;; costs about as much as searching 2000 chars.
(offset 1000)
(found nil)
- (pat (concat "^" (regexp-quote (car tag-info)))))
+ (pat (concat (if (eq selective-display t)
+ "\\(^\\|\^m\\)" "^")
+ (regexp-quote (car tag-info)))))
(or startpos
(setq startpos (point-min)))
(while (and (not found)